package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TransferInfoRequest对象", description = "配送中心调货请求对象")
public class TransferInfoRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品规格id")
    @NotNull(message = "商品规格id不能为空")
    private Integer productSpecsId;

    @ApiModelProperty(value = "调货数量")
    @NotNull(message = "调货数量不能为空")
    private Integer transferNumber;

    @ApiModelProperty(value = "调货门店名称")
    private String transferRoomName;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品id")
    private Integer productId;

    @ApiModelProperty(value = "商品规格名称")
    private String productAttrValue;
}
